function showDistributionByDate(id, data)
{
    $('document').ready(function()
    {
        var plot = $.jqplot(id, [data], {
            title: 'Days distribution',
            series:[
                {renderer:$.jqplot.BarRenderer}
            ],
            axesDefaults: {
                tickRenderer: $.jqplot.CanvasAxisTickRenderer ,
                tickOptions: {
                    fontSize: '10pt'
                }
            },
            axes: {
                xaxis: {
                    renderer: $.jqplot.CategoryAxisRenderer,
                    tickOptions: {
                        angle: -90
                    }
                }
            }
        });
    });

}
